package com.zsqat.eshop.product;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

// 开启缓存功能
@EnableCaching
@EnableDiscoveryClient
@EnableFeignClients(basePackages = "com.zsqat.eshop.product.feign")
@SpringBootApplication
public class EShopProductApplication {

  public static void main(String[] args) {
    SpringApplication.run(EShopProductApplication.class, args);
  }

}
